package com.thinkwide.data.servlet;

import com.thinkwide.data.core.MFString;
import com.thinkwide.data.debug.MFDebug;

import java.util.ArrayList;


public class MFServletItems extends ArrayList<MFServletItem> {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    public MFServletItem find(String servletName) {
        for (MFServletItem item : this) {
            if (MFString.compareCase(servletName, item.getServletName())) {
                MFDebug.println("find");
                return item;
            }

        }
        return null;
    }
}

